package com.zxf.course.bean;

import java.util.Date;
public class Student {
    private Integer studentNo;

    private String studentImg;

    private String studentName;

    private String studentContact;

    private Integer classNo;

    private Date addTime;
        
    private Classes classes;

	public Classes getClasses() {
		return classes;
	}

	public void setClasses(Classes classes) {
		this.classes = classes;
	}

	public Integer getStudentNo() {
        return studentNo;
    }

    public void setStudentNo(Integer studentNo) {
        this.studentNo = studentNo;
    }

    public String getStudentImg() {
        return studentImg;
    }

    public void setStudentImg(String studentImg) {
        this.studentImg = studentImg == null ? null : studentImg.trim();
    }

    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName == null ? null : studentName.trim();
    }

    public String getStudentContact() {
        return studentContact;
    }

    public void setStudentContact(String studentContact) {
        this.studentContact = studentContact == null ? null : studentContact.trim();
    }

    public Integer getClassNo() {
        return classNo;
    }

    public void setClassNo(Integer classNo) {
        this.classNo = classNo;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

	@Override
	public String toString() {
		return "Student [studentNo=" + studentNo + ", studentImg=" + studentImg + ", studentName=" + studentName
				+ ", studentContact=" + studentContact + ", classNo=" + classNo + ", addTime=" + addTime + ", classes="
				+ classes + "]";
	}
    
}